﻿@model 商品后台mvcdemo.Models.ProductInfo

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>商品详情</title>
    <style>
        .dl-horizontalb dd{
           
        }
    </style>
</head>
<body>
    <div>
        <h4>商品表</h4>
        <hr />
        <dl class="dl-horizontal">
            <dt>
                @Html.DisplayNameFor(model => model.Name)
            </dt>
    
            <dd>
                @Html.DisplayFor(model => model.Name)
            </dd>
    
            <dt>
                @Html.DisplayNameFor(model => model.Price)
            </dt>
    
            <dd>
                @Html.DisplayFor(model => model.Price)
            </dd>
    
            <dt>
                @Html.DisplayNameFor(model => model.AddTime)
            </dt>
    
            <dd>
                @Html.DisplayFor(model => model.AddTime)
            </dd>
    
            <dt>
                @Html.DisplayNameFor(model => model.State)
            </dt>
    
            <dd>
                @Html.DisplayFor(model => model.State)
            </dd>
    
            <dt>
                @Html.DisplayNameFor(model => model.Proimage)
                
            </dt>
    
            <dd>
              @* @Html.DisplayFor(model => model.Proimage)*@
                <img src="~/Image/@Html.DisplayFor(model => model.Proimage)" width="100" height="100"/>
            </dd>
    
            <dt>
                @Html.DisplayNameFor(model => model.TypeInfo.TypeName)
            </dt>
    
            <dd>
                @Html.DisplayFor(model => model.TypeInfo.TypeName)
            </dd>
    
        </dl>
    </div>
    <p>
        @Html.ActionLink("修改", "Edit", new { id = Model.ID }) |
        @Html.ActionLink("返回", "Index")
    </p>
</body>
</html>
